package com.ygou.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Announcement {
    private Integer annid;

    private String anntitle;

    private Integer adminid;

    private Date createtime;

    private String anncontent;

    private Admininfo admin;
    

    public Integer getAnnid() {
		return annid;
	}

	public void setAnnid(Integer annid) {
		this.annid = annid;
	}

	public Admininfo getAdmin() {
		return admin;
	}

	public void setAdmin(Admininfo admin) {
		this.admin = admin;
	}

	public String getAnntitle() {
        return anntitle;
    }

    public void setAnntitle(String anntitle) {
        this.anntitle = anntitle == null ? null : anntitle.trim();
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

   

    public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getAnncontent() {
        return anncontent;
    }

    public void setAnncontent(String anncontent) {
        this.anncontent = anncontent == null ? null : anncontent.trim();
    }
    @Override
    public String toString() {
    	// TODO Auto-generated method stub
    	return super.toString();
    }
}